package dao.intf;

import java.util.List;

import model.User;

// Class contains all methods required by User Management Module
// Abstracts and encapsulates all access to the data source.
// Manages connection with the data source to store, obtain and manipulate data.
public interface UserDao {

	List<User> getUserList();
	
	User getUserById(String id);
	User getUserByEmail(String email);
	int saveUser(User user);
	int updateUser(User user,String email);
	
}
